﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<meta name="author" content="7S2FF3" />

	<title>Untitled 1</title>
    <script type="text/javascript" src="/TUVANNONGNGHIEP/Common/ckeditor_3.6.2/ckeditor.js"></script>

	<script src="/TUVANNONGNGHIEP/Common/ckeditor_3.6.2/sample.js" type="text/javascript"></script>
	<link href="/TUVANNONGNGHIEP/Common/ckeditor_3.6.2/ckeditor.js/sample.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="content">
<form enctype="multipart/form-data" action="Admin/ActionUpload_Tin.php" name="frmUpload_Tin" method="POST">
    <table border="0" width="100%">
        <!--THE LOAI-->
        <tr>
            <td align="left">Thể loại:</td>
            <td align="left">    
                <select name="cmbMaTheLoai">
                    <?
                        include("../Common/Connect_Database.php");
                        $sql="select * from theloai";
                        $result_tl= mysql_query($sql,$link);
                        while($rs_tl=mysql_fetch_array($result_tl))
                    {
                    ?>
                    <option value="<?echo $rs_tl['MaTheLoai'];?>"><?echo $rs_tl['TenTheLoai'];?></option>
                    <?
                    }
                    ?>
                </select>
            </td>
        </tr>
        <!--TIEU DE TIN-->
        <tr>
            <td align="left">Tiêu đề tin:</td>
            <td align="left"><input name="txtTieuDe" maxlength="100" size="50" /></td>
        </tr>
        <!--NOI DUNG TOM TAT-->
        <tr>
            <td colspan="2" align="left">Nội dung tóm tắt: </td>
        </tr>
        <tr>
            <td colspan="2" align="left">
                <textarea rows="10" cols="86" name="txtTomTat"></textarea>
            </td>
        </tr>
        <!--NOI DUNG-->
        <tr>
            <td colspan="2" align="left">Nội dung: </td>
        </tr>
        <tr>
            <td colspan="2" align="left">
                <textarea name="txtNoiDung" id="txtNoiDung" rows="20" cols="86"></textarea>
        	       <script type="text/javascript">

			 //<![CDATA[
			 	CKEDITOR.replace( 'txtNoiDung',

					{

						skin : 'office2003'

					});
			//]]>

			     </script>
           </td>
       </tr>
       <!--ANH MINH HOA-->
       <tr>
            <td align="left">Ảnh minh họa: </td>
            <td align="left"><input type="hidden" name="MAX_FILE_SIZE" value="100000" /><input type="file" size="49" name="AnhMinhHoa" /></td>
       </tr>
       <!--TAC GIA-->
       <tr align="left">
            <td>Tác giả: </td>
            <td align="left"><input name="txtTacGia" maxlength="50" size="50" /></td>
       </tr>
       <!--NGUON TIN-->
        <tr>
           <td align="left">Nguồn tin: </td>
            <td align="left"><input name="txtNguonTin" maxlength="50" size="50" /></td>
       </tr>
       <!--NGUOI NHAP TIN-->
        <tr>
           <td align="left">Nguời nhập tin: </td>
            <td align="left"><input name="txtNguoiNhapTin" maxlength="50" size="50" /></td>
       </tr>
        <!--CHO PHEP XUAT BAN-->
        <tr>
        
            <td colspan="2">Cho phép xuất bản? 
                <input type="radio" name="rdoTrangThai" value="1" checked="true"/>Có 
                <input type="radio" name="rdoTrangThai" value="0" /> Không 
            </td>
        </tr>
        <tr>
            <td colspan="2">
               <input value="Lưu" type="submit" name="btnluu" />
               <input value="Nhập lại" type="reset" />
            </td>
        </tr>
    </table>
</form>
</div>

</body>
</html>